package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter
@Setter
public class Sale {
    private Long id;

    private String salename;

    private String saleordernumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date saledate;

    private Long membernumber;

    private BigDecimal sn;

    private BigDecimal balance;

    private BigDecimal totalamount;

    private String name;

    private String productclassify;

    private BigDecimal saleprice;

    private BigDecimal salecount;

    private BigDecimal amountprice;

    private BigDecimal profit;

    private Member member;
}